package com.cisite.common



import  com.cisite.common.validator.Validators;
import grails.validation.Validateable;

/**
 * @author jinn_ye@qq.com
 * @date 2012-07-17
 * @description  注册用户时，密码校验
 * @rule *
 */
@Validateable
class RegisterCommand {


	/**
	 * @field password 密码
	 */
	String password

	/**
	 * @field confirmPassword  确认密码
	 */
	String confirmPassword
	
	static constraints = {
		
		confirmPassword(validator:Validators.confirmPasswordValidator)
		
	}

}
